package sg.edu.nus.iss.vmcs.entity;


public abstract class AbstractStoreFactory {

	public abstract BrandDrinkStore getBrandDrinkInstance();
	
	public abstract BrandSnacksStore getBrandSnacksInstance();

	public abstract CashStore1 getCashStoreInstance();
	
	public static AbstractStoreFactory getInstance(String machineModel){
		AbstractStoreFactory abstractStoreFactory = null;
		 if(machineModel.equals("simulator")){
			 abstractStoreFactory = new SimuatorStoreFactory();
		 }else{
			 System.out.println("Given machine model is not supported "+machineModel);
		 }
		 return abstractStoreFactory;
	 }
}
